//
//  BaseTextView.m
//  lvfj
//
//  Created by lvfeijun on 2021/10/21.
//  Copyright © 2021 Goudu KuaiEx Technology(Shenzhen)Co.,ltd. All rights reserved.
//

#import "BaseTextView.h"

@implementation BaseTextView

-(void)setMaxLine:(NSInteger)line{
    textView.textContainer.maximumNumberOfLines = line // 可根据需求进行设置要显示的行数
    textView.textContainer.lineBreakMode = .byTruncatingTail
})

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
